package IDAL;

import Entity.BCategory;
import Entity.Category;

import java.util.List;

/**
 * @Author Chen
 * @Date 2022/1/7 14:14
 * @Version 1.0
 */
public interface BookTypePort {
    //图书类型添加（根据ID）
    public int addBookType(Object...args);

    //图书类型修改
    public int updateBookType(Object...args);

    //图书类型删除
    public int deleteBookType(Object...args);

    //查询所有图书类型
    public List<BCategory> selectBookType(Object...args);

    //根据图书类型名称查询
    public BCategory selectBookTypeName(Object... args);

    //根据图书类型id查询
    public BCategory selectBookTypeId(Object... args);
}
